package com.kalix.jyksh.record.dao;

import com.kalix.framework.core.impl.dao.GenericDao;
import com.kalix.ksh.record.api.dao.ILineRecordBeanDao;
import com.kalix.ksh.record.api.dao.IManagementObjectRecordBeanDao;
import com.kalix.ksh.record.entities.LineRecordBean;
import com.kalix.jyksh.record.entities.ManagementObjectRecordBean;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import java.util.UUID;

/**
 * Created by Wanghw on 2018/10/12.
 * 折线图数据
 */
public class ManagementObjectRecordBeanDaoImpl extends GenericDao<ManagementObjectRecordBean, Long> implements IManagementObjectRecordBeanDao {
    private String uuid;
    public ManagementObjectRecordBeanDaoImpl() {

        uuid = UUID.randomUUID().toString();
    }

    @Override
    @PersistenceContext(unitName = "record-unit")
    public void setEntityManager(EntityManager em) {
        super.setEntityManager(em);
    }

}
